package com.lai.shop.dao;



import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lai.shop.entity.ProductEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author laiciqi
 * @email 602469238@qq.com
 * @date 2022-05-19 13:16:52
 */
@Mapper
public interface ProductDao extends BaseMapper<ProductEntity> {


    IPage<ProductEntity> selectListByCategoryType(@Param("type") String type, @Param("category")String category);

}
